Einhugur Color Management Plugin for Objo

Einhugur.ColorManagement.ICCColorProfile.ConvertToColorProfile Method

Converts color profile on a RawBitmap, creating new instance of RawBitmap with the result.

ConvertToColorProfile(
   bitmap as Einhugur.RawBitmap) as Einhugur.RawBitmap

Parameters

bitmap
The RawBitmap instance to be converted to the color profile.

Returns

Einhugur.RawBitmap
A new RawBitmap instance with the color profile applied.

Remarks

If the RawBitmap has no color profile defined then this method will fail and throw exception.

Note that the plugin can only convert RGB based, Gray based profiles and CMYK based profiles as RawBitmap object does not support other kinds of color spaces currently.

This function can throw Exception.

See Also

Einhugur.ColorManagement.ICCColorProfile Class